<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>Project</title>
	<link rel="stylesheet" type="text/css" href="Resources/css/global.css" />
</head>
<!-- content --> 
<body>
	<script type="text/javascript">
		function toto()
		{
			xhr = new XMLHttpRequest();
			xhr.onreadystatechange  = function()
			{
			   if(xhr.readyState  == 4)
			   {
				if(xhr.status  == 200)
					alert("Received:"  + xhr.responseText);
				else
					alert(":c : " + xhr.status);
				}
			};
		 
		   xhr.open( "GET", "http://localhost:8042/login?Creds=toto;toto5",  true);
		   xhr.send(null); 
		}
	</script>
	
	<button onclick="toto()">Glabrezu</button>
	
</body>
</html>

<!-- !content -->
